<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TC内容管理系统</title>
<link type="text/css" rel="stylesheet" href="http://localhost/myweb/App/Tcadmin/View/Index/css/reset.css"/>
<link type="text/css" rel="stylesheet" href="http://localhost/myweb/App/Tcadmin/View/Index/css/style.css"/>
<link type="text/css" rel="stylesheet" href="http://localhost/myweb/App/Tcadmin/View/Index/css/invalid.css"/>
<script type="text/javascript" src="http://localhost/myweb/App/Tcadmin/View/Index/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="http://localhost/myweb/App/Tcadmin/View/Index/js/simpla.jquery.configuration.js"></script>
<base target='iframe' />
</head>
<body>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Logo (221px wide) -->
      <a href="#"><img id="logo" src="http://localhost/myweb/App/Tcadmin/View/Index/images/logo.png" /></a>
      <!-- Sidebar Profile links -->
      <div id="profile-links"> 欢迎登录， <?php echo $hd['session']['username'];?>
        <br />
		<br />
        <a href="<?php echo U('Index/Index/index');?>" target="_blank" >前台首页</a> | <a href="<?php echo U('Login/out');?>" target="_self">退出登陆</a> </div>
      <ul id="main-nav">
        <!-- Accordion Menu -->
        <li> <a href="#" class="nav-top-item current">
          <!-- Add the class "current" to current menu item -->
          内容管理 </a>
          <ul>
            <li><a href="<?php echo U('Article/index');?>" class="current">文章列表</a></li>
            <!-- Add class "current" to sub menu items also -->
            <li><a href="<?php echo U('Article/add');?>">发布文章</a></li>
             <li><a href="<?php echo U('Sgpage/index');?>">单页列表</a></li>
              <li><a href="<?php echo U('Sgpage/add');?>">发布单页</a></li>
            <li><a href="<?php echo U('Category/index');?>">栏目管理</a></li>
            <li><a href="<?php echo U('Category/add');?>">添加栏目</a></li>
            <li><a href="<?php echo U('Customer/index');?>">客户信息管理</a></li>
          </ul>
        </li>
        <li> <a href="#" class="nav-top-item"> 系统管理 </a>
          <ul>
            <li><a href="<?php echo U('System/setConfig');?>">系统设置</a></li>
            <li><a href="<?php echo U('Administrator/index');?>">系统用户管理</a></li>
          </ul>
        </li>
      </ul>
      <!-- End #main-nav -->
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Page Head -->
    <div class="clear"></div>
    <!-- End .clear -->
    <div class="content-box">
		<iframe src="<?php echo U('Index/welcome');?>" name='iframe' scrolling="auto" frameborder="0" style="min-height:600px;width:100%;"></iframe>
    </div>

    <div id="footer"> <small>
      &#169; Copyright 2010 Your Company | Powered by </small> </div>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
</body>
</html>
